using System;
using NHibernate.Validator.Constraints;
using SharpArch.Core.DomainModel;
using System.Collections.Generic;

namespace GoldenBicycleCompany.Core
{
    public class Location : Entity
    {
        [DomainSignature]
        [NotNullNotEmpty]
        public virtual string Name { get; set; }

        [DomainSignature]
        [NotNullNotEmpty]
        public virtual string StreetAddress { get; set; }

        [NotNull]
        public virtual IEnumerable<Bicycle> Inventory { get; set; }
    }
}
